function y = fh1(x)
%Full Hessian FH1 Function
%x0=[0.01,0.01,...,0.01]
%fmin=f77([0,0,...,0])=0
%Author:cai li
n=length(x);
y=(x(1)-3)^2;
for i=2:n
    y1=0;
    for j=1:i
        y1=y1+x(i);
    end
    y=y+(x(1)-3-2*y1^2)^2;
end